﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin.master" CodeFile="ResumeSearchBySkills.aspx.cs"
    Inherits="ResumeSearchBySkills" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
    <style type="text/css">
        .rptrLink
        {
            color: #666666;
            display: block;
            font-family: Arial,Helvetica,sans-serif;
            text-decoration: none;
            line-height: 25px;
        }
        .Heading
        {
            background-color: #335566;
            font-size: medium;
            color: #FFFFFF;
            font-family: MS Sans Serif;
        }
    </style>
</asp:Content>
<asp:Content ContentPlaceHolderID="cphMainBody" runat="server">
    <table width="100%">
        <tr>
            <td valign="bottom" class="leftheading" colspan="2" align="left">
                <img src="images/headingbullet.gif" width="14" height="14">
                SEARCH REMUE BY SKILLS
            </td>
        </tr>
        <tr>
            <td class="leftsectionunderline" colspan="2">
                <img src="images/spacer.gif" width="1" height="1">
            </td>
        </tr>
        <tr>
            <td class="tdstyle" colspan="2" height="6">
            </td>
        </tr>
        <tr>
            <td class="tdstyle" style="width: 25%;" align="right" valign="top">
                Skills :
            </td>
            <td class="tdstyle" style="width: 75%;">
                <asp:TextBox class="txt" ID="txtKeySkills" runat="server">
                </asp:TextBox>
                <asp:Label CssClass="lbl" ID="lblMsg" runat="Server" ForeColor="Red" Text="Enter Skills by comma separated ( , )  Ex: asp.net,c#,vb.net ">
                </asp:Label>
                <asp:RequiredFieldValidator runat="server" ID="reqQualificationRequired" ControlToValidate="txtKeySkills"
                    ValidationGroup="PostResume" ErrorMessage="Please enter skills!" />
            </td>
        </tr>
        <tr>
            <td class="tdstyle">
            </td>
            <td class="tdstyle">
                <asp:Button class="CSSButton" ID="btnSeachBySkills" runat="server" Text="Search"
                    OnClick="btnSeachBySkills_Click" ValidationGroup="PostResume" />
                <asp:Button class="CSSButton" ID="btnClearSearch" Style="margin-left: 10px;" runat="server"
                    Text="Clear Search" OnClick="btnClearSearch_Click" />
            </td>
        </tr>
        <tr>
            <td class="tdstyle">
            </td>
            <td class="tdstyle">
                <asp:Label CssClass="lbl" ID="lblErrMsg" runat="Server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdstyle" colspan="2">
                <br />
                <table width="100%">
                    <tr>
                        <td valign="bottom" class="leftheading" colspan="2" align="left">
                            <img src="images/headingbullet.gif" width="14" height="14">
                            BROWSE BY SKILLS
                        </td>
                    </tr>
                    <tr>
                        <td class="leftsectionunderline" colspan="2">
                            <img src="images/spacer.gif" width="1" height="1">
                        </td>
                    </tr>
                </table>
                <center>
                    <asp:DataList RepeatColumns="3" RepeatLayout="Flow" Width="100%" ID="rptSkills" runat="server"
                        OnItemCommand="rptSkills_ItemCommand" BackColor="White" BorderColor="#336666"
                        CellPadding="4" GridLines="Horizontal">
                        <FooterStyle BackColor="White" ForeColor="#333333" />
                        <ItemTemplate>
                            <asp:LinkButton CssClass="rptrLink" Width="30%" ID="lnkSkills" CommandArgument='<%# Eval("SKILL_NAME") %>'
                                CommandName="SkillsSearch" runat="server" Text='<%# Eval("SKILL_NAME") %>'></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle BackColor="White" ForeColor="#333333" />
                        <SelectedItemStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                    </asp:DataList>
                </center>
                <br />
            </td>
        </tr>
    </table>
</asp:Content>
